#include "chooselevel.h"
#include "ui_chooselevel.h"

ChooseLevel::ChooseLevel(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::ChooseLevel)
{
    ui->setupUi(this);
    //传输信号，使按Back键返回主页面
    connect(ui->backButton,&QPushButton:: released,[=]()
    {
        emit closeWindow();
    });
    //从关卡页面打开游戏页面

}

ChooseLevel::~ChooseLevel()
{
    delete ui;
}
